export class Container {
  // These member variables could be marked as readonly
  private neverModifiedMember = true;

  private onlyModifiedInConstructor: number;

  // Private parameter properties can also be marked as readonly
  private neverModifiedParameter: string;

  public constructor(
    onlyModifiedInConstructor: number,
    // Private parameter properties can also be marked as readonly
    neverModifiedParameter: string,
  ) {
    this.neverModifiedParameter = neverModifiedParameter;
    this.onlyModifiedInConstructor = onlyModifiedInConstructor;
  }
}

class Container {
  // These member variables could be marked as readonly
  private neverModifiedMember = true;
  private onlyModifiedInConstructor: number;
  #neverModifiedPrivateField = 3;

  public constructor(
    onlyModifiedInConstructor: number,
    // Private parameter properties can also be marked as readonly
    private neverModifiedParameter: string,
  ) {
    this.onlyModifiedInConstructor = onlyModifiedInConstructor;
  }
}

class TestIncorrectlyModifiableStatic {
  private static incorrectlyModifiableStatic = 7;
}
/*output:
class TestIncorrectlyModifiableStatic {
  private static readonly incorrectlyModifiableStatic = 7;
}*/

class TestIncorrectlyModifiableStatic {
  static #incorrectlyModifiableStatic = 7;
}
/*output:
class TestIncorrectlyModifiableStatic {
  static readonly #incorrectlyModifiableStatic = 7;
}*/

class TestIncorrectlyModifiableStaticArrow {
  private static incorrectlyModifiableStaticArrow = () => 7;
}
/*output:
class TestIncorrectlyModifiableStaticArrow {
  private static readonly incorrectlyModifiableStaticArrow = () => 7;
}*/